package com.ht.pms.core.handler;

import java.util.List;
import java.util.Map;

public interface ExcelExportHandler {
	
	/**
	 * 获取处理总数
	 * @return
	 */
	int getExcelDataCount() throws Exception;
	
	/**
	 * 分页获取数据
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	List<Map<String, Object>> getExcelDataByPage(int currentPage, int pageSize) throws Exception;

}
